﻿namespace A12_Ex01_3
{
    public class Program
    {
        public static void Main()
        {
            int numOfLines;
            string inputNumberStr;

            do
            {
                System.Console.WriteLine("Please enter the number of lines for the shape:");
                inputNumberStr = System.Console.ReadLine();
            }
            while (!int.TryParse(inputNumberStr, out numOfLines) || !(numOfLines > 0));

            A12_Ex01_2.Program.PrintRhombus(numOfLines);
        }
    }
}